Replacement Can Preserve Termination

نویسندگان

  • Annalisa Bossi
  • Nicoletta Cocco
چکیده

We consider the replacement transformation operation, a very general and powerful transformation, and study under which conditions it preserves universal termination besides computed answer substitutions. With this safe replacement we can signiicantly extend the safe unfold/fold transformation sequence presented in 11]. By exploiting typing information, more useful conditions can be deened and we may deal with some special cases of replacement very common in practice, namely switching two atoms in the body of a clause and the associativity of a predicate. This is a rst step in the direction of exploiting a Pre/Post speciication on the intended use of the program to be transformed. Such speciication can restrict the instances of queries and clauses to be considered and then relax the applicability conditions on the transformation operations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Transformation System for Definite Programs Based on Termination Analysis

We present a goal replacement rule whose main applicability condition is based on termination properties of the resulting transformed program. The goal replacement rule together with a multi-step unfolding rule forms a powerful and elegant transformation system for definite programs. It also sheds new light on the relationship between folding and goal replacement, and between different folding ...

متن کامل

Termination of (Canonical) Context-Sensitive Rewriting

Context-sensitive rewriting (CSR) is a restriction of rewriting which forbids reductions on selected arguments of functions. A replacement map discriminates, for each symbol of the signature, the argument positions on which replacements are allowed. If the replacement restrictions are less restrictive than those expressed by the so-called canon-ical replacement map, then CSR can be used for com...

متن کامل

A Transformation System for De nitePrograms Based on Termination

We present a goal replacement rule whose main applicability condition is based on termination properties of the resulting transformed program. The goal replacement rule together with a multi-step unfolding rule forms a powerful and elegant transformation system for deenite programs. It also sheds new light on the relationship between folding and goal replacement, and between diierent folding ru...

متن کامل

High-level replacement units and their termination properties

Visual rewriting techniques, in particular graph transformations, are increasingly used to model transformations of systems specified through diagrammatic sentences. Several rewriting models have been proposed, differing in the expressivity of the types of rules and in the complexity of the rewriting mechanism; yet, for many of them, basic results concerning the formal properties of these model...

متن کامل

mu-term: a tool for proving termination of rewriting with replacement restrictions

This paper describes mu-term, a tool which can be used to automatically prove termination of computational restrictions of rewriting such as context-sensitive rewriting and lazy rewriting. The tool can also be used to prove termination of rewriting. In this sense, mu-term provides the first implementation of reduction orderings based on polynomial interpretations over the rational numbers.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996